package cn.hcbycloud.auth.model;

import cn.hcbycloud.common.mysql.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户基本信息表
 *
 * @author gaoheng
 * @date 2022-01-19 14:25:05
 */
@Data
@TableName("tb_uaa_user")
@EqualsAndHashCode(callSuper = true)
public class User extends BaseModel<User> {
    private static final long serialVersionUID=1L;
    /**
     * 用户姓名
     */
    @TableField("name")
    private String name;
        
    /**
     * 昵称
     */
    @TableField("nickname")
    private String nickname;
        
    /**
     * 头像
     */
    @TableField("photo")
    private String photo;
        
    /**
     * 0:未知 | 1:男 | 2:女
     */
    @TableField("sex")
    private String sex = "0";
        
    /**
     * 所属客户ID
     */
    @TableField("cust_id")
    private String custId;

    /**
     * 密码
     */
    @TableField("password")
    private String password;

    /**
     * 盐
     */
    @TableField("salt")
    private String salt;
                
}
